import Vue from 'vue'
import vuescroll from 'vuescroll'
import echarts from 'echarts' // echarts图表，做数据分析用
import App from './App'
import router from './router'
import store from './store'
import './plugins/element.js'     // 组件库
import '@/assets/css/reset.scss'// 重置HTML样式
import '@/assets/css/app.scss' // 全局样式
import '@/assets/css/el-ui.scss' // 优化element样式
import '@/assets/css/dark.scss'  // 导入暗黑主题
import components from '@/components/index'  //注册全局组件
import VueParticles from 'vue-particles'
Vue.use(VueParticles)

Vue.config.productionTip = false
Vue.use(components)
Vue.use(vuescroll)
Vue.prototype.$echarts = echarts

new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})

